<script>
	import init from '@/init.js';
	export default {
		onLaunch: function () {
			console.log('App Launch');
			init();
		},
		onShow: function () {
			console.log('App Show');
		},
		onHide: function () {
			console.log('App Hide');
		},
	};
</script>

<style>
	/*每个页面公共css */
	page {
		width: 100vw;
		height: 100vh;
	}

	button {
		letter-spacing: 3px;
		line-height: normal !important;
	}

	* {
		box-sizing: border-box;
	}

	/* 滚动条样式 */
	::-webkit-scrollbar {
		width: 4px;
		height: 4px;
	}

	::-webkit-scrollbar-thumb {
		background-color: rgba(74, 144, 226, 0.3);
		border-radius: 4px;

		&:hover {
			background-color: rgba(74, 144, 226, 0.5);
		}
	}

	::-webkit-scrollbar-track {
		background-color: rgba(0, 0, 0, 0.03);
		border-radius: 4px;
	}
</style>
